from Page2 import Page2
from selenium.webdriver.common.by import By
class Page3(Page2):
    # 贴吧
    tb_loc=(By.XPATH,'//*[@id="nv"]/a[2]')
    def tb(self):
        self.click(self.tb_loc)

    yl_loc=(By.XPATH,'//*[@id="f-d-w"]/div[1]/div/div[1]/a')
    def yl(self):
        self.click(self.yl_loc)

    aa_loc=(By.XPATH,'//*[@id="ba_list"]/div[2]/a/img')
    def mm(self):
        self.click(self.aa_loc)

    gz_loc=(By.XPATH,'//*[@id="j_head_focus_btn"]')
    def gz(self):
        self.click(self.gz_loc)
